// app.js
App({
    globalData: {
      userInfo: null,
      rainbowCode: null,
      userId: null,
      balance: 0
    }
  })